import request from '@/utils/system/request.js'

export function findOrg(params) {
  return request({
    url: '/gk/findOrg.open',
    method: 'get',
    params,
  })
}

// 投诉举报上传照片
export function uploadImg(params, data) {
  return request({
    url: '/jwjg/supervise/uploadPhoto',
    method: 'post',
    params,
    data,
  })
}

// 保存举报
export function saveSupervise(params, data) {
  return request({
    url: '/jwjg/supervise/saveSupervise',
    method: 'post',
    params,
    data,
  })
}

// 获取滚动列表
export function getListData(params) {
  return request({
    url: '/news/getListData',
    method: 'get',
    params,
  })
}
